<script>
export default {
  name: "Login",
  methods:{
    login(){
      this.$router.push({path:'/home'})
    }
  }
}
</script>

<template>
  <h3>登录页面</h3>
  <button @click="login">登录</button>
</template>

<style scoped>

</style>